/* localStorage.setItem(键,值)
localStorage.getItem(键)
localStorage.removeItem(键) */

// 给自己定义一个KEY常量
const KEY = 'my-token-vant-h5-85'

// 自己封装的三个方法
export const setToken = token => localStorage.setItem(KEY, token)
export const getToken = () => localStorage.getItem(KEY)
export const delToken = () => localStorage.removeItem(KEY)
